-- GENERATED SPELL FOR [Iron Roots] --


function spell0_33088(pUnit, Event) --@Iron Roots,n/a--
pUnit:FullCastSpellOnTarget(63598,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33088', 522, 1)
end

function Sorts_33088(pUnit, Event)
local choix_sorts_33088 = math.random(0, 0)
if choix_sorts_33088 == 0 then
pUnit:RegisterEvent('spell0_33088', 1, 1)
end
end

function mob33088_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33088', math.random(1500, 3000), 1)
end

function mob33088_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33088_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33088_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33088, 1, 'mob33088_Action')
RegisterUnitEvent(33088, 2, 'mob33088_Leave')
RegisterUnitEvent(33088, 3, 'mob33088_Kill')
RegisterUnitEvent(33088, 4, 'mob33088_Die')
